/**  
 * @Title: DataXComp.java
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-04-13 16:21:25 
 */  
package com.fsxgt.datagrid.component.handler.impl;

import org.springframework.stereotype.Component;

import com.fsxgt.datagrid.flow.handler.FlowReturn;
import com.fsxgt.datagrid.flow.handler.FlowContext;
import com.fsxgt.datagrid.flow.handler.IComponentHandler;

import lombok.extern.slf4j.Slf4j;

/**  
 * @ClassName: DataxComponent
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-04-13 16:21:25 
*/
@Slf4j
@Component
public class CmpShellHandler extends IComponentHandler{

	public FlowReturn handler(final Object config,FlowContext context) throws Exception{
		
		Thread.sleep(1000);
		
		return new FlowReturn();
		
	}

	/**  
	 * @Title: getName
	 * @Description: TODO(描述)
	 * @return 
	 * @see com.fsxgt.datagrid.core.handler.ICommonComponentHandler#getName() 
	 * @author liuyi
	 * @date 2023-04-14 13:49:53 
	 */ 
	@Override
	public String getComponentType() {
		// TODO Auto-generated method stub
		return "Shell";
	}




	@Override
	public void stopHandler(Object config, FlowContext context) throws Exception {
		// TODO Auto-generated method stub
		
	}
	
}
